.class Lcom/nemustech/regina/widgets/clock/ClockWidget$14;
.super Ljava/lang/Object;
.source "ClockWidget.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/nemustech/regina/widgets/clock/ClockWidget;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;


# direct methods
.method constructor <init>(Lcom/nemustech/regina/widgets/clock/ClockWidget;)V
    .locals 0
    .parameter

    .prologue
    .line 752
    iput-object p1, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$14;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    .prologue
    const/4 v3, 0x0

    .line 756
    iget-object v1, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$14;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v1}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$600(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Landroid/content/Context;

    move-result-object v1

    if-eqz v1, :cond_1

    iget-object v1, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$14;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v1}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$700(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_1

    .line 757
    iget-object v1, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$14;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v1}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$800(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Z

    move-result v1

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$14;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v1}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$900(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Z

    move-result v1

    if-nez v1, :cond_0

    .line 758
    iget-object v1, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$14;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v1}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$600(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Lcom/nemustech/regina/ResourceCare;->getResourceCare(Landroid/content/Context;)Lcom/nemustech/regina/ResourceCare;

    move-result-object v1

    const v2, 0x7f070028

    invoke-virtual {v1, v2}, Lcom/nemustech/regina/ResourceCare;->getString(I)Ljava/lang/String;

    move-result-object v0

    .line 759
    .local v0, text:Ljava/lang/String;
    iget-object v1, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$14;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v1, v0}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$1002(Lcom/nemustech/regina/widgets/clock/ClockWidget;Ljava/lang/String;)Ljava/lang/String;

    .line 760
    iget-object v1, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$14;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v1}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$1100(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Lcom/nemustech/tiffany/world/TFPanel;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v1, v2, v3, v3}, Lcom/nemustech/tiffany/world/TFPanel;->setImageResource(ILandroid/graphics/Bitmap;Landroid/graphics/Rect;)Z

    .line 761
    iget-object v1, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$14;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    const/4 v2, 0x1

    invoke-static {v1, v2}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$902(Lcom/nemustech/regina/widgets/clock/ClockWidget;Z)Z

    .line 762
    iget-object v1, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$14;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v1}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$600(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Landroid/content/Context;

    move-result-object v1

    iget-object v2, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$14;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v2}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$700(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Ljava/lang/String;

    move-result-object v2

    invoke-static {v1, v2}, Lcom/nemustech/regina/widgets/clock/WeatherDBManager;->sendRequest(Landroid/content/Context;Ljava/lang/String;)V

    .line 771
    :goto_0
    return-void

    .line 764
    .end local v0           #text:Ljava/lang/String;
    :cond_0
    iget-object v1, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$14;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v1}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$600(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Lcom/nemustech/regina/ResourceCare;->getResourceCare(Landroid/content/Context;)Lcom/nemustech/regina/ResourceCare;

    move-result-object v1

    const v2, 0x7f07002b

    invoke-virtual {v1, v2}, Lcom/nemustech/regina/ResourceCare;->getString(I)Ljava/lang/String;

    move-result-object v0

    .line 765
    .restart local v0       #text:Ljava/lang/String;
    iget-object v1, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$14;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v1}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$600(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Landroid/content/Context;

    move-result-object v1

    invoke-static {v1, v0}, Lcom/nemustech/regina/RUtils;->showToast(Landroid/content/Context;Ljava/lang/String;)Landroid/widget/Toast;

    goto :goto_0

    .line 768
    .end local v0           #text:Ljava/lang/String;
    :cond_1
    iget-object v1, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$14;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v1}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$600(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Landroid/content/Context;

    move-result-object v1

    invoke-static {v1}, Lcom/nemustech/regina/ResourceCare;->getResourceCare(Landroid/content/Context;)Lcom/nemustech/regina/ResourceCare;

    move-result-object v1

    const v2, 0x7f07002c

    invoke-virtual {v1, v2}, Lcom/nemustech/regina/ResourceCare;->getString(I)Ljava/lang/String;

    move-result-object v0

    .line 769
    .restart local v0       #text:Ljava/lang/String;
    iget-object v1, p0, Lcom/nemustech/regina/widgets/clock/ClockWidget$14;->this$0:Lcom/nemustech/regina/widgets/clock/ClockWidget;

    invoke-static {v1}, Lcom/nemustech/regina/widgets/clock/ClockWidget;->access$600(Lcom/nemustech/regina/widgets/clock/ClockWidget;)Landroid/content/Context;

    move-result-object v1

    invoke-static {v1, v0}, Lcom/nemustech/regina/RUtils;->showToast(Landroid/content/Context;Ljava/lang/String;)Landroid/widget/Toast;

    goto :goto_0
.end method
